/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.citi.dahg.cve.controller.service.impl;

import com.citi.dahg.cve.controller.model.Periodo;
import com.citi.dahg.cve.controller.model.Recurso;
import com.citi.dahg.cve.controller.model.Vacacion;
import com.citi.dahg.cve.controller.service.BasicService;
import com.citi.dahg.cve.controller.service.local.ProgramacionService;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author dh90940
 */
@Stateless
public class ProgramacionServiceImpl extends BasicService<Vacacion> implements ProgramacionService {

    @EJB
    private PeriodoServiceImpl periodoService;
    
    @Override
    protected Class<Vacacion> getClazz() {
        return Vacacion.class;
    }

    @Override
    protected String queryGetAll() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public List<Vacacion> getVacaciones(Recurso empleado, Periodo year) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public List<Periodo> getAllPeriodos() {
        return periodoService.getAll();
    }
    
}
